home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmGetColors.z / XmGetColors
Text File  |  1998-10-30  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss - A function that generates foreground, select,
  10.           and shadow colors
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/Xm.h>
  14.           vvvvooooiiiidddd XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss(
  15.           SSSSccccrrrreeeeeeeennnn **** ssssccccrrrreeeeeeeennnn,
  16.           CCCCoooolllloooorrrrmmmmaaaapppp ccccoooolllloooorrrrmmmmaaaapppp,
  17.           PPPPiiiixxxxeeeellll bbbbaaaacccckkkkggggrrrroooouuuunnnndddd,
  18.           PPPPiiiixxxxeeeellll **** ffffoooorrrreeeeggggrrrroooouuuunnnndddd,
  19.           PPPPiiiixxxxeeeellll **** ttttoooopppp____sssshhhhaaaaddddoooowwww,
  20.           PPPPiiiixxxxeeeellll **** bbbboooottttttttoooommmm____sssshhhhaaaaddddoooowwww,
  21.           PPPPiiiixxxxeeeellll **** sssseeeelllleeeecccctttt);
  22.  
  23.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  24.           This page documents Motif 2.1.
  25.  
  26.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  27.           XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss takes a screen, a colormap, and a background
  28.           pixel, and returns pixel values for foreground, select, and
  29.           shadow colors.
  30.  
  31.           _s_c_r_e_e_n    Specifies the screen for which these colors should
  32.                     be allocated.
  33.  
  34.           _c_o_l_o_r_m_a_p  Specifies the colormap from which these colors
  35.                     should be allocated.
  36.  
  37.           _b_a_c_k_g_r_o_u_n_d
  38.                     Specifies the background on which the colors
  39.                     should be based.
  40.  
  41.           _f_o_r_e_g_r_o_u_n_d
  42.                     Specifies a pointer to the returned foreground
  43.                     pixel value.  If this argument is NULL, no value
  44.                     is allocated or returned for this color.
  45.  
  46.           _t_o_p__s_h_a_d_o_w
  47.                     Specifies a pointer to the returned top shadow
  48.                     pixel value.  If this argument is NULL, no value
  49.                     is allocated or returned for this color.
  50.  
  51.           _b_o_t_t_o_m__s_h_a_d_o_w
  52.                     Specifies a pointer to the returned bottom shadow
  53.                     pixel value.  If this argument is NULL, no value
  54.                     is allocated or returned for this color.
  55.  
  56.           _s_e_l_e_c_t    Specifies a pointer to the returned select pixel
  57.                     value.  If this argument is NULL, no value is
  58.                     allocated or returned for this color.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss((((3333XXXX))))           UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV           XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrssss((((3333XXXX))))
  71.  
  72.  
  73.  
  74.      RRRREEEELLLLAAAATTTTEEEEDDDD
  75.           XXXXmmmmCCCChhhhaaaannnnggggeeeeCCCCoooolllloooorrrr(3), XXXXmmmmGGGGeeeettttCCCCoooolllloooorrrrCCCCaaaallllccccuuuullllaaaattttiiiioooonnnn(3), and
  76.           XXXXmmmmSSSSeeeettttCCCCoooolllloooorrrrCCCCaaaallllccccuuuullllaaaattttiiiioooonnnn(3).
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.